import { getCdataApi } from "@/services/cateServer";
const actionCreateCreatorSetCdata = data=>({type:"setCdata",data})
export const getCdataAction = ()=> async dispatch=>{
    const data = await(await getCdataApi()).data
    dispatch(actionCreateCreatorSetCdata(data))
}